import {
	mapState,
} from 'vuex'
export default {
	computed: {
		...mapState(['tabbarHeight', 'bottomArea']),
		tabbarBottomStyle() {
			return {
				bottom: this.tabbarHeight + this.bottomArea + 'px'
			}
		},
		tabbarStyle() {
			return {
				paddingBottom: this.tabbarHeight + 'px'
			}
		},
		tabbarPbStyle() {
			return (pb) => {
				return {
					paddingBottom: this.tabbarHeight + pb + 'px'
				}
			}
		}
	},
}